/* 头部区域 */
#header {
  width: 100%;
  height: 40px;
  background: #333333;
}
.header-con {
  width: 1230px;
  height: 40px;
  margin: 0 auto;
}
/* 左侧导航 */
.header-con .header-nav {
  width: 406px;
  height: 100%;
  float: left;
}
.header-con .header-nav li {
  float: left;
  line-height: 40px;
  color: #b0b0b0;
  font-size: 12px;
}
/* 这个是滑过li变色 */
.header-con .header-nav li:hover {
  color: white;
}
/* 右侧导航 */
.header-con .header-right {
  width: 398px;
  height: 40px;
  float: right;
  /* background: red; */
  position: relative;
}
.header-con .header-right #welcomeBox {
  /* background: red; */
  float: left;
  font-size: 12px;
  color: #b0b0b0;
  margin-top: 10px;
}
#welcomeBox {
  display: none;
}
.header-con .header-right #welcomeBox #btnLogout {
  font-size: 12px;
  color: #b0b0b0;
  background: #333333;
  color: #b0b0b0;
  border: none;
}
.header-con .header-right a {
  float: left;
  line-height: 40px;
  color: #b0b0b0;
  font-size: 12px;
}
.header-con .header-right a:hover {
  color: white;
}
.header-con .header-right .Cart {
  float: left;
  line-height: 40px;
  width: 130px;
  height: 40px;
  /* background: purple; */
  text-align: center;
  color: #b0b0b0;
  font-size: 12px;
  cursor: pointer;
}
.header-con .header-right .p-cart {
  width: 280px;
  height: 100px;
  background: white;
  border: 1px solid #ccc;
  position: absolute;
  text-align: center;
  font-size: 12px;
  line-height: 100px;
  bottom: -102px;
  display: none;
  z-index: 999;
  left: 114px;
}
/* 头部区域结束 */
/* logo开始 */
#logo {
  width: 100%;
  height: 100px;
}
.logo-con {
  width: 1230px;
  height: 100px;
  margin: 0 auto;
  /* background: pink; */
}
.logo-con h1 {
  float: left;
  margin-top: 20px;
  width: 55px;
  height: 55px;
}
.logo-con h1 img {
  width: 100%;
  height: 100%;
}
/* logo导航 */
.logo-con .logo-nav {
  width: 800px;
  height: 100px;
  /* background: red; */
  float: left;
  margin-left: 56px;
}
.logo-con .logo-nav li {
  float: left;
  line-height: 100px;
  margin-right: 29px;
  position: relative;
  cursor: pointer;
}
.logo-con .logo-nav li:hover {
  color: orangered;
}
/* logo二级导航 */
.logo-con .logo-nav li .logo-lastnav {
  position: absolute;
  width: 1230px;
  height: 200px;
  /* background: purple; */
  left: -223px;
  border-top: 1px solid #ccc;
  display: none;
  background: white;
  z-index: 9999;
}
.logo-con .logo-nav li .logo-lastnav li {
  width: 215px;
  height: 100%;
  float: left;
  text-align: center;
  position: relative;
  z-index: 9999;
}
.logo-con .logo-nav li .logo-lastnav li img {
  width: 100%;
  height: 100%;
}
.logo-con .logo-nav li .logo-lastnav li::after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 80px;
  background: #ccc;
  right: 0px;
  top: 60px;
}
.logo-con .logo-nav li .logo-lastnav li img {
  width: 135px;
  height: 120px;
  margin-top: 38px;
}
/* 显示隐藏二级导航 */
.logo-con .logo-nav li:hover .logo-lastnav {
  display: block;
}
/* 搜索 */
.logo-con .search {
  width: 294px;
  height: 50px;
  /* background: purple; */
  float: left;
  margin-top: 24px;
  margin-left: 18px;
  border: 1px solid #ccc;
}
.logo-con .search input {
  width: 243px;
  height: 50px;
  outline: none;
  border: none;
  float: left;
}
.logo-con .search button {
  width: 50px;
  height: 50px;
  outline: none;
  float: left;
  background: white;
  border: none;
  border-left: 1px solid #ccc;
}
.logo-con .search button .icon-fangdajing {
  font-size: 20px;
}
/* logo结束 */
/* 轮播图开始 */
#banner {
  width: 100%;
  height: 456px;
}
.banner-con {
  width: 1230px;
  height: 456px;
  margin: 0 auto;
  background-image: url(../img/0.jpg);
  background-size: 100% 100%;
  position: relative;
}
.banner-con button {
  width: 36px;
  height: 36px;
  opacity: 0.5;
  border-radius: 50%;
  outline: none;
  border: none;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
.banner-con #previous {
  left: 250px;
}
.banner-con #next {
  right: 26px;
}
/* 轮播按钮 */
.banner-con .banner-btn {
  width: 84px;
  height: 20px;
  border-radius: 25px;
  background: black;
  opacity: 0.3;
  position: absolute;
  bottom: 10px;
  /* left: 0; */
  right: 10px;
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.banner-con .banner-btn li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  float: left;
}
/* 侧边栏 */
.banner-con .subnav {
  width: 235px;
  height: 100%;
  opacity: 0.8;
  background: black;
  overflow: hidden;
}
/* 一级导航 */
.subnav .subnav-one li {
  width: 235px;
  height: 40px;
  /* background: pink; */
}
.subnav .subnav-one li a {
  color: white;
  display: block;
  width: 235px;
  height: 40px;
  /* background: orange; */
  line-height: 40px;
  text-indent: 30px;
  position: relative;
}
.subnav .subnav-one li a .icon-you {
  position: absolute;
  font-size: 20px;
  right: 0;
  top: 0;
}
.subnav .subnav-one li:hover a {
  background: orangered;
}
/* 二级导航 */
.subnav .subnav-one li .subnav-two {
  width: 650px;
  height: 456px;
  position: absolute;
  left: 235px;
  top: 0;
  background: white;
  opacity: 1;
  display: none;
  /* display: flex; */
  flex-wrap: wrap;
}

.subnav .subnav-one li:hover .subnav-two {
  display: block;
}
.subnav .subnav-one li .subnav-two li:hover {
  color: orange;
  cursor: pointer;
}
/* 二级导航 */
.subnav .subnav-one li .subnav-two li {
  width: 32%;
  height: 12%;
  /* background: greenyellow; */
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  float: left;
  margin-right: 8px;
  margin-bottom: 10px;
}
.subnav .subnav-one li .subnav-two li h1 img {
  height: 45px;
}
/* 轮播图结束 */
/* 选购手机部分开始  */
#shop {
  width: 100%;
  height: 229px;
}
.shop-con {
  width: 1230px;
  height: 229px;
  margin: 0 auto;
  /* background: red; */
}
.shop-con .shop-left {
  width: 235px;
  height: 170px;
  background: #5f5750;
  float: left;
  margin-top: 15px;
}
.shop-con .shop-left a {
  display: block;
  width: 77px;
  height: 84px;
  float: left;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  text-align: center;
  line-height: 116px;
  color: white;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* .shop-con .shop-left a:hover {
  background: orangered;
} */
.shop-con .shop-left a h1 {
  width: 32px;
  height: 32px;
}
.shop-con .shop-left a h1 img {
  width: 100%;
  height: 100%;
}
.shop-con .shop-left a b {
  font-weight: normal;
  position: absolute;
  font-size: 12px;
  margin-top: 17px;
}
.shop-con .pic {
  float: left;
  margin: 15px 15px 0 0;
  width: 316px;
  height: 170;
}
.shop-con .pic img {
  width: 100%;
  height: 100%;
}
/* 选购手机部分结束  */
/* 小米闪购 开始 */
#date {
  width: 100%;
  height: 382px;
}
.date-con {
  width: 1230px;
  height: 382px;
  margin: 0 auto;
  /* background: pink; */
  overflow: hidden;
  position: relative;
}
.date-con h3 {
  font-weight: normal;
  font-size: 20px;
  float: left;
}
.date-con span {
  display: block;
  width: 41px;
  height: 23px;
  border: 1px solid #ccc;
  float: right;
  /* background: red; */
  font-size: 20px;
  color: #ccc;
  text-align: center;
  line-height: 23px;
}
.date-con span:hover {
  background: hotpink;
}
.date-con .time {
  width: 235px;
  height: 339px;
  background: #f1eded;
  margin-top: 40px;
  overflow: hidden;
}
.date-con .time p {
  color: red;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-top: 67px;
}
.date-con .time h4 {
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  margin-top: 24px;
}
.date-con .time h1 {
  text-align: center;
  margin-top: 30px;
}
.date-con .time .time-date li {
  float: left;
  width: 50px;
  height: 50px;
  background: #605751;
  color: white;
  text-align: center;
  line-height: 50px;
  margin-right: 6px;
}
.date-con .goods {
  width: 916px;
  height: 339px;
  /* background: red; */
  position: absolute;
  top: 42px;
  left: 237px;
}
.date-con .goods li {
  width: 25%;
  height: 339px;
  /* background: purple; */
  float: left;
}
.date-con .goods li h1 img {
  width: 100%;
}

.date-con .goods li p:hover {
  color: orangered;
}
/* 小米闪购 结束 */
#cart {
  width: 100%;
  height: 121px;
  margin: 20px 0;
}
.cart-con {
  width: 1230px;
  height: 121px;
  margin: 0 auto;
}
.cart-con img {
  width: 100%;
  height: 100%;
}
/* 核心商品开始  */
#more {
  width: 100%;
  height: 760px;
  background: #f5f5f5;
}
.more-con {
  width: 1230px;
  height: 100%;
  margin: 0 auto;
}
.more-con .more-top {
  width: 100%;
  height: 90px;
  /* background: pink; */
  float: left;
  display: flex;
  justify-content: space-between;
}
.more-con .more-top .one,
.two {
  margin-top: 40px;
  font-size: 20px;
}
.more-con .more-left {
  width: 238px;
  height: 611px;
  float: left;
}
.more-con .more-left img {
  width: 100%;
  height: 100%;
}
.more-con .more-left img:hover {
  margin-top: -3px;
  transition: 0.5s;
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}
.more-con .more-right {
  width: 983px;
  height: 615px;
  /* background: purple; */
  float: left;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.more-con .more-right li {
  width: 24%;
  background: white;
  margin-bottom: 10px;
}
.more-con .more-right li a {
  display: block;
  width: 100%;
}
.more-con .more-right li a img {
  width: 100%;
  display: block;
}
.more-con .more-right li p {
  text-align: center;
}
/* .more-con .more-right li img {
  margin: 2px 0 0 10px;
} */
.more-con .more-right li span {
  font-size: 12px;
  color: #ccc;
  margin-left: 24px;
}
.more-con .more-right li h3 {
  font-weight: normal;
  color: orangered;
  text-align: center;
  margin-top: 6px;
}
.more-con .more-right li:hover {
  margin-top: -3px;
  transition: 0.5s;
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}
/* 核心商品结束  */
/* 家电 开始 */
#tv {
  width: 100%;
  height: 691px;
  background: #f5f5f5;
}
.tv-con {
  width: 1230px;
  height: 691px;
  margin: auto;
}
.tv-con .tv-top {
  width: 100%;
  height: 40px;
  float: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tv-con .tv-top p {
  font-size: 18px;
}
.tv-con .tv-top .tv-nav li {
  float: left;
  margin-right: 10px;
  font-size: 18px;
}
.tv-con .tv-top .tv-nav li:hover {
  text-decoration: underline;
  color: orange;
}
.tv-con .tv-left {
  width: 235px;
  height: 615px;
  float: left;
}
.tv-con .tv-left img {
  width: 100%;
  height: 309px;
  margin-bottom: 2px;
}
.tv-con .tv-left img:hover {
  margin-top: -2px;
  transition: 0.5s;
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}
.tv-con .tv-right {
  width: 983px;
  height: 615px;
  float: left;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.tv-con .tv-right li {
  width: 24%;
  background: white;
  text-align: center;
  margin-bottom: 10px;
}
.tv-con .tv-right li a {
  display: block;
  width: 100%;
}
.tv-con .tv-right li a img {
  width: 100%;
  display: block;
}
.tv-con .tv-right li p {
  font-size: 14px;
}
.tv-con .tv-right li span {
  font-size: 12px;
  color: #ccc;
}
.tv-con .tv-right li:hover {
  margin-top: -2px;
  transition: 0.5s;
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}
/* 视频部分 */
#video {
  width: 100%;
  height: 276px;
  background: #f5f5f5;
}
.video-con {
  width: 1230px;
  height: 276px;
  margin: 0 auto;
  /* background: red; */
}
.video-con .video-top {
  width: 100%;
  height: 30px;
  float: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.video-con .video-pic {
  width: 100%;
  height: 245px;
  /* background: purple; */
  float: left;
  background: white;
}
.video-con .video-pic li {
  width: 24%;
  background: white;
  height: 70px;
  float: left;
  margin-right: 10px;
}
.video-con .video-pic li img {
  width: 100%;
}
.video-con .video-pic li img:hover {
  margin-top: -2px;
  transition: 0.5s;
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}
.video-con .video-pic li a {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #ccc;
  margin: 24px 0 0 0;
}
/* 结束 */
#footer {
  width: 100%;
  height: 334px;
}
.footer-con {
  width: 1230px;
  height: 334px;
  margin: 0 auto;
  /* background: pink; */
}
.footer-con .footer-top {
  width: 100%;
  height: 81px;
  border-bottom: 1px solid #616161;
  background: white;
  display: flex;
}
.footer-con .footer-top li {
  width: 19.5%;
  height: 81px;
  background: white;
  margin-right: 6px;
  text-align: center;
  line-height: 81px;
  color: #616161;
  font-size: 18px;
  position: relative;
}
.footer-con .footer-top li:after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 36px;
  right: 0;
  top: 26px;
  background: #ccc;
}
.footer-con .footer-top li i {
  font-size: 25px;
  color: #ccc;
}
.footer-con .footer-top li:hover {
  color: orangered;
}
/* 购物指南 */
.footer-con .footer-nav {
  float: left;
  margin-right: 93px;
  cursor: pointer;
}
.footer-con .footer-nav dt {
  font-size: 16px;
  margin: 40px 0 30px 0;
}
.footer-con .footer-nav dd {
  color: #757575;
  font-size: 12px;
  margin-bottom: 16px;
}
.footer-con .footer-nav dd:hover {
  color: orangered;
}
.footer-con .footer-right {
  float: right;
  margin: 42px 52px 0 0;
}
/* 公示 */
#item {
  width: 100%;
  height: 259px;
  background: #fafafa;
}
.item-con {
  width: 1230px;
  height: 259px;
  margin: 0 auto;
  padding-top: 30px;
}
.item-con h1 {
  float: left;
  margin-right: 10px;
}
.item-con a {
  font-size: 12px;
  color: #757575;
}
.item-con a:hover {
  color: orangered;
}
.item-con p {
  font-size: 12px;
  color: #ccc;
}
.item-con .item-footer {
  margin: 8px 0 0 0;
}
.r-nav {
  width: 80px;
  height: 456px;
  /* background: pink; */
  position: fixed;
  right: 0;
  bottom: 0;
}
.r-nav .nav-end {
  width: 100%;
  height: 576px;
}
.r-nav .nav-end li {
  float: left;
  width: 80px;
  height: 90px;
  background: white;
  /* border-bottom: 1px solid #000; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.r-nav .nav-end li a {
  display: block;
  width: 32px;
  height: 32px;
}
.r-nav .nav-end li a img {
  width: 100%;
  height: 100%;
}
.r-nav .nav-end li p {
  font-size: 14px;
  color: #ccc;
  margin-top: 4px;
}
.r-nav .nav-end li:hover {
  /* background: hotpink; */
  cursor: pointer;
  margin-top: -2px;
  transition: 0.5s;
  box-shadow: 0 15px 30px rgb(0 0 0 / 10%);
  transform: translate3d(0, -2px, 0);
}
